package com.shuyun.springdata.showcase.service;

import com.shuyun.springdata.showcase.domain.Person;

/**
 * Created by feng.ding on 2017/1/9.
 */
public interface PersonService {

    Person savePersonWithRollBack(Person person);
    Person savePersonWithoutRollBack(Person person);

    Person save(Person person);
    void remove(Long id);
    Person findOne(Person person);
}
